<!DOCTYPE html>
<html>
<head>
    <title></title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("sys:talents:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("sys:talents:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("sys:talents:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">姓名</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.name" placeholder="姓名"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">手机</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.phone" placeholder="手机"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">年龄</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.age" placeholder="年龄"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">身份证号码</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.identity" placeholder="身份证号码"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">qq</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.qq" placeholder="qq"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">邮箱</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.email" placeholder="邮箱"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">职位分类</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.job" placeholder="职位分类"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">现居省市</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.city" placeholder="现居省市"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">证书所在省市</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.certificateCity" placeholder="证书所在省市"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">正式日期</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.certificateDate" placeholder="正式日期"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">工作经验</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.jobExperience" placeholder="工作经验"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">学历</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.education" placeholder="学历"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">注册情况</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.zhuce" placeholder="注册情况"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">人才状态</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.status" placeholder="人才状态"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">用途</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.use" placeholder="用途"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">合同年限</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.contractNum" placeholder="合同年限"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">首次参加工作时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.firstJobDate" placeholder="首次参加工作时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">最近工作职位</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.recentlyJob" placeholder="最近工作职位"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">最近工作时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.recentlyJobDate" placeholder="最近工作时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">最近工作年限</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.recentlyJobNum" placeholder="最近工作年限"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">期望薪资</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.salary" placeholder="期望薪资"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label"> 备注</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.note" placeholder=" 备注"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">备用状态</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="talents.talentsStatus" placeholder="备用状态"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/talents.js?_${.now?long}"></script>
</body>
</html>